$linkColor: #afafaf;

.shortcut {
  min-width: 1200px;
  height: 36px;
  line-height: 36px;
  background: {
    color: #2e2828;
  };
  font-family: "Helvetica Neue", Helvetica, Arial, "Microsoft Yahei", "Hiragino Sans GB", "Heiti SC", "WenQuanYi Micro Hei", sans-serif;


  .s-sub {
    float: left
  }

  li {
    float: left;
    padding: 0 8px;
    position: relative;

    &:before {
      content: "";
      width: 1px;
      height: 10px;
      display: block;
      position: absolute;
      top: 13px;
      left: 0;
      background: #414141;
    }

    &:first-child {
      //padding-left: 0;

      &:before {
        display: none;
      }
    }
  }

  a {
    display: inline-block;
    color: $linkColor;
    cursor: pointer;
    height: 36px;
    line-height: 36px;

    &:hover {
      color: #fff;
    }
  }

  .s-main {
    float: right;
  }
}

// 购物车图标
.icon-minicart {
  padding-left: 23px;
  display: block;
  white-space: nowrap;

  &:before {
    content: '';
    display: block;
    width: 20px;
    height: 12px;
    position: absolute;
    color: $linkColor;
    top: 11px;
    left: 10px;
    line-height: 12px;
    background-position: -99px -4px;
  }
}

.minicart-pro-empty {
  width: 460px;
  text-align: center;
  line-height: 1;
  font-size: 14px;
  color: #a4a4a4;
  padding: 50px 0 50px;

  .icon-minicart {
    width: 100px;
    height: 100px;
    margin: 0 auto 16px;
  }
}

// 下拉菜单
.s-dropdown {
  position: relative;
  height: 36px;
  margin: 0 -9px;

  &.shop-cart {
    background: #424242;
  }

  // 标题
  .h {
    position: relative;
    padding: 0 12px 0 10px;
    height: 36px;
  }

  // 下拉
  .b {
    display: none;
    position: absolute;
    top: 36px;
    right: 0;
    background: #fff;
    border-radius: 8px 0 8px 8px;

  }

  // 图标
  .icon-dropdown {
    position: relative;
    padding-right: 15px;

    &:before {
      content: '';
      display: block;
      width: 14px;
      height: 14px;
      background-position: -71px 0;
      position: absolute;
      top: 10px;
      right: -5px;
    }
  }

  .dropdown-more {
    padding: 6px 0 12px;
    text-align: center;
    line-height: 20px;

    a {
      color: #777;
      line-height: 20px;

      &:hover {
        color: #cb242b;
      }
    }
  }


  &:hover {
    box-shadow: 0 2px 36px 0 rgba(0, 0, 0, 0.07);
    margin: 0 -9px;
    z-index: 21;

    // 更多精彩图标
    & .icon-dropdown:before {
      background-position: -85px 0;
    }

    // 购物车图标
    & .icon-minicart:before {
      background-position: -119px -4px;
    }

    .minicart-pro-empty .icon-minicart:before {
      width: 100px;
      height: 100px;
      background-position: -262px 0;
      position: static;
    }

    .b {
      display: block;
      box-shadow: 0 2px 36px 0 rgba(0, 0, 0, .07);
    }

    .h {
      background: white;
      z-index: 10;

      a {
        color: #cb242b;
      }
    }

  }
}

.more-nav {
  width: 119px;
}

.service-nav {
  width: 100px;
}

.dropdown-more.web-nav {
  width: 893px;
  padding: 42px 0 20px;

  text-align: left;
  .dropdown-nav-icon {
    float: left;
    width: 50px;
    text-align: center;
    margin: 0 46px 0 49px;
    color: #777;

    span {
      width: 50px;
      height: 50px;
      display: block;
      margin-bottom: 3px;

      &:before {
        content: '';
        display: block;
        width: 50px;
        height: 50px;
        background: url("/images/icon-common.svg") no-repeat -202px 0;
      }
    }
  }

  dl {
    float: left;
    width: 185px;

    dt {
      font-size: 16px;
      font-weight: 700;
      margin-bottom: 8px;
      color: #333;
    }

    dd {
      li {
        width: 80px;
        overflow: hidden;
        margin-bottom: 4px;
        padding: 0;

        a {
          line-height: 20px;
          height: 20px;
        }

        &:before {
          display: none;
        }
      }
    }
  }

}

.phone-nav {
  width: 244px;
}

.minicart-pro-has {
  display: none;
  width: 477px;
  max-height: 458px;
  overflow-x: hidden;
  min-height: 168px;
  margin-bottom: 60px;

}

.minicart-pro-item {
  width: 100%;
  padding: 20px 20px 0 12px!important;
  border-bottom: 1px solid #eee;

  // 主体信息
  .pro-info {
    padding-bottom: 20px;
  }

  // 选中图标
  .p-choose {
    float: left;
    width: 20px;
    height: 20px;
    margin: 23px 16px 0 12px;

    i {
      display: block;
      width: 20px;
      height: 20px;
      position: relative;
      cursor: pointer;
    }

    i.icon-choose {
      width: 20px;
      height: 20px;
      background-color: #ca141d;
      border-radius: 10px;

      &:before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 20px;
        height: 20px;
        background: url('/images/icon03.svg') no-repeat -222px 0;
        z-index: 1;
      }
    }

    i.icon-choose-no {
      width: 18px;
      height: 18px;
      border: 1px solid #979797;
      border-radius: 10px;
    }
  }

  // 商品图片
  .p-img {
    float: left;
    width: 64px;
    height: 64px;

    img {
      width: 64px;
      height: 64px;
      vertical-align: top;
    }
  }

  .p-name {
    float: left;
    width: 320px;
    padding-left: 9px;
    margin-bottom: 16px;

    a {
      display: block;
      font-size: 14px;
      line-height: 22px;
      color: #3a3a3a;
      width: 100%;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      height: 22px;
    }
  }

  .p-des {
    float: left;
    width: 320px;
    padding-left: 9px;
    font-size: 14px;
    line-height: 30px;


    .p-version {
      float: left;
      height: 30px;

      span {
        display: inline-block;
        width: 100px;
        color: #666;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
      }
    }

    .p-status {
      float: right;
      min-width: 64px;

      b {
        display: inline-block;
        font-weight: 400;
        color: #333;
        margin:0 7px;
      }

      s {
        color: #a4a4a4;
        display: inline-block;
      }

      strong {
        font-weight: normal;
        min-width: 32px;
        display: inline-block;
        color: #3a3a3a;


        em {
          margin-right: 2px;
          font-weight: 400;
          font-style: normal;
        }
      }
    }
  }

  // 配件
  .pro-pack {
    padding: 10px 0 10px 12px;
    line-height: 17px;

    > span {
      float: left;
      border-radius: 2px;
      background: #ca141d;
      color: #fff;
      width: 42px;
      height: 17px;
      text-align: center;
    }

    .gift-content {
      float: left;
      width: 380px;
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
      margin-left: 10px;

      span {
        display: inline-block;
      }
    }
  }
}

.minicart-pro-tool {
  position: absolute;
  bottom: 0;
  height: 60px;
  width: 100%;
  background: #f0f0f0;

  p {
    color: #3a3a3a;
    font-size: 14px;
    float: left;
    margin-left: 23px;
    margin-top: 10px;
    span {
      display: block;
      line-height: 1.2;

      &:first-child {
        color: #888;
        font-size: 12px;
      }

      b {
        color: #ca141d;
        font-size: 24px;
        font-weight: normal;
        margin-right: 7px;
      }

      s{
        color: #333;
        font-size: 14px;
        position: relative;
        top: -4px;
      }
    }
  }

  >a {
    float: right;
    color: #FFF;
    background-color: #ca151e;
    font-size: 16px;
    width: 150px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    border-radius: 2px;
    margin: 10px 20px 0 0;

    &.disabled {
      background: #e5aeb0;
      cursor: not-allowed;
    }
  }
}
